home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM Today - The Disc! 5
/
CD-ROM Today - The Disc (Issue 5)(November 1994).ISO
/
mac
/
Mac shareware
/
Education
/
RLaB
/
help
/
zeros
< prev
next >
Wrap
Text File
|
1994-09-21
|
381b
|
23 lines
zeros:
Syntax: zeros ( nrow, ncol )
zeros ( A )
Description:
Zeros returns a matrix with all zero elements. If the
arguments are two scalars, then zeros returns a matrix with
dimensions S1xS2.
If the argument is a MATRIX, then zeros returns a matrix with
dimensions m[1] by m[2].
Examples:
> zeros( 3 , 3 )
> A = rand(10,4);
> B = zeros( size(A) )
See Also: size